package com.neusoft.neuiotms.dcom.repository.problem;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcom.model.problem.ProblemHandling;

public interface ProblemHandlingRepository
        extends JpaRepository<ProblemHandling, Long>, CustomizedProblemHandlingRepository {

    ProblemHandling findByWorkOrderNumAndTaskId(String workOrderNum, String taskId);

    void deleteByWorkOrderNum(String workOrderNum);

    ProblemHandling findByWorkOrderNum(String workOrderNum);

}
